package com.codemart.lanze.modules.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.codemart.lanze.modules.sys.model.Role;

/**
 * @description:
 * @author: lanze
 */
public interface RoleMapper extends BaseMapper<Role> {

	/**
	 * 根据用户ID查询角色对象信息
	 *
	 * @param userId
	 * @return
	 */
	Role findByUserId(Long userId);
}
